import request from '@/utils/request'

export const QueryArea =(page,pageSize,warehousename,name)=>request.get(`/warehouseArea/areaPage?page=${page}&pageSize=${pageSize}&warehousename=${warehousename}&name=${name}`)

export const DeleteareApi=(ids)=>request.delete(`/warehouseArea/${ids}`)
export const AddareAPi=(data)=>request.post(`/warehouseArea/add`,data)
export const UpdateApi=(data)=>request.put(`/warehouseArea/update`,data)

